﻿using System;

namespace DCS.Business.Model
{
    public class SSRCode
    {
        /// <summary>
        /// SSRCode 构造函数
        /// </summary>
        public SSRCode()
        { }

        /// <summary>
        /// SSRCode OR映射构造函数
        /// </summary>
        public SSRCode(System.Data.IDataReader dr)
        {
            this.Code = Convert.ToString(dr["Code"]);
            this.Type = Convert.ToString(dr["Type"]);
            this.Value = Convert.ToInt32(dr["Value"]);
            this.Description = Convert.ToString(dr["Description"]);
        }

        /// <summary>
        /// 
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int Value { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Description { get; set; }
    }
}
